package edu.whut.mall.mapper;

import edu.whut.mall.model.MerchantSysUser;
import edu.whut.mall.model.MerchantSysUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MerchantSysUserMapper {
    long countByExample(MerchantSysUserExample example);

    int deleteByExample(MerchantSysUserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MerchantSysUser record);

    int insertSelective(MerchantSysUser record);

    List<MerchantSysUser> selectByExample(MerchantSysUserExample example);

    MerchantSysUser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MerchantSysUser record, @Param("example") MerchantSysUserExample example);

    int updateByExample(@Param("record") MerchantSysUser record, @Param("example") MerchantSysUserExample example);

    int updateByPrimaryKeySelective(MerchantSysUser record);

    int updateByPrimaryKey(MerchantSysUser record);
}